﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace CavinatorService.Model
{
    /// <summary>
    /// Classe para representar um Protocolo
    /// </summary>
    [DataContract]
    public class Protocol
    {
        #region Properties

        [DataMember]
        public long IdNode { get; set; }

        [DataMember]
        public string Info { get; set; }

        [DataMember]
        public bool IsAnswer { get; set; }

        [DataMember]
        public List<Answer> Answers { get; set; }

        [DataMember]
        public int IdQuestion { get; set; }

        #endregion

        #region Constructors

        public Protocol()
        { 
        }

        #endregion

        #region Methods
        #endregion
    }
}
